js for appropriately hide/show/toggle post and story forms on button clicks