changes style for selected post