fixes sliding issue; removes unnecessary comments