edited view page added twitter function