Fix mobile animation issues