adding styles for selected tile