posting button code cleanup and better mobile view