moved footer to its appropriate position inside main