added menu views and fixed view drag shake

added menu, header and footer view. also fixed the shaking screen when
dragging to the view to the sides of the room.