implement pages resposive and swipes