Move slide script to bottom