fixing scrolling and exercise formatting