moved desktop animations to single if block