add sliding animation and responsivness