fixed image overflow
added pagination