Added pause button
Added rotation support