Make header draggable and set headerfooter layout at pageView