place footer at the bottom of the page when maindiv is short