add responsive function