Restructured code. Added custom images for arrows/change direction/play/pause.