put slide bar
made drawSprite function