improved pagination and made applicaton responsive