fix loop issue and make homepage sidebar wider