height instead of width + Pause function