Fixed the sliding menu related errors