fixing endslate z-index

fixing the z-index and moving it to the media player file

@phamann