                                 self.weekNumberTab = getWeekNumber()
                                 weekNumber = totalSchedule[self.weekNumberTab! - 1].number!
                                 
-                                self.weekLabel.text = "Неделя \(String(weekNumber))"
                                 
                                 self.subjectNameLabel.text = defaults.valueForKey("subjectName") as? String ?? ""
                                 self.updateScheduleProperties(0)
+                                if(self.weekNumberTab == totalSchedule.count )
+                                {
+                                    self.leftWeekArrow.hidden = true
+                                }
+                                else if(self.weekNumberTab == 1)
+                                {
+                                    self.rightWeekArrow.hidden = true
+                                }
+
                                 if(self.day.lessons?.count != 0){
                                     self.performSegueWithIdentifier("mainSegue", sender: self.tabBarButtons[0])
                                 }

        }
        if(segue.identifier! == "voidLessons" )
        {
            
            for btn in tabBarButtons {
                btn.backgroundColor = GlobalColors.lightBlueColor
            }

    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        
        if(segue.identifier! == "mainSegue" ) {
            for btn in tabBarButtons {
                btn.backgroundColor = GlobalColors.lightBlueColor
            }
