Fix content problems when window height doesn't enougth