iPhone and Apple devices have a feature where you can easily access the screen to change track, pause and skip music. If you're using Pandora, you need to uncheck "Conserve battery option" option under the Menu > Settings > Advanced. Now the screen will stay on while the music is playing on Pandora.
You can also download the apps like KeepScreen and Stay Alive to block screen timeout when predefined applications are active.