i use wanam xposed for this. you have to install xposed framework then inside the download section in xposed framework you can install wanam xposed. in wanam xposed settings there's an option to use the volume button to skip tracks when the screen is off and it works well.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?