footer is rearrange when its at ipad and small screen mode