fix max value, now it works with seconds > 43200

It's simple, just remove max value from if block which calculate all position (other only seconds or only minutes, if other not presented).