change thumbnails, change margin on edge case