fixed position and scrolling issues for short windows